package com.bizihang.rabbitmq.consumer;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

/**
 * @author 毕子航 951755883@qq.com
 * @date 2018/10/13
 */
@Service
public class HelloConsumer {
	@RabbitListener(queues = {"hello"})
	public void init(String str) {
//		System.out.println(str);
	}
}
